package top.riske.animalhazardassessment.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "物种信息")
@TableName("species")
public class Species {

    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "物种名")
    private String name;

    @Schema(description = "物种风险系数")
    @TableField(value = "risk_point")
    private Integer riskPoint;

    @Schema(description = "咬合力度风险指数")
    private Integer occlusion;

    @Schema(description = "体型风险指数")
    private Integer physique;

    @Schema(description = "危险性基因遗传风险指数")
    private Integer gene;

    public Species() {
    }
}
